package junior.db.dao.mybatis.base;

import junior.db.dao.base.IBaseId;
import junior.db.dao.update.DeleteOption;
import junior.db.dao.update.UpdateMapperProvider;
import org.apache.ibatis.annotations.UpdateProvider;

/**
 * @author wubo
 * @date 2024/8/30 17:27
 */
public interface BaseDeleteMapper<E extends IBaseId> extends IBaseMapper<E> {
    
    @UpdateProvider(type = UpdateMapperProvider.class, method = "delete")
    int delete(DeleteOption option);
    
}
